<%--
/*
- * @description: 最新发布页面
- * @author: huangchuting
- * @update: huangchuting (2021/1/7 16:50)
- */--%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>校园租赁-${typename}</title>
</head>
<link rel="stylesheet" href="/static/css/new-publish.css">
<body>
    <c:import url="../public/head.jsp"></c:import>
    <script>
        shop.innerHTML = '<span style="color: #ef0a21">·&#12288;${typename}</span>'
    </script>
    <div class="divWarp">
        <div class="contentWarp">
            <ul>
             <c:forEach items="${itemList}" var="var" varStatus="vs">
                    <li>
                         <div class="imageWarp">
                            <a href="/Item/item-news?item_id=${var.item_id}"><img src="/static/images/item/${var.image}"></a>
                         </div>
                        <div class="dataWarp">
                            <h3>${var.item_name}</h3>
                            <p>
                                商品类型：${var.type}
                            </p><br>
                            <p class="price">
                                商品价格：${var.price}
                            </p><br>
                        </div>
                    </li>
                </c:forEach>
             </ul>
        </div>
    </div>
</body>
</html>